package top.bug.blog.utils;

import cn.hutool.core.util.StrUtil;

/**
 * @author <a href="https://github.com/jiusi66">九思.</a>
 * @email 10837907@qq.com
 * @from <a href="https://www.52bug.top">递归茶馆-www.52bug.top</a>
 * @description 字符工具类
 */
public class StrUtils {

    public static final String SLASH = "/";
    public static final String DOT = ".";
    public static final String DASHED = "-";


    /**
     * 是否空
     */
    public static boolean isNotBlank(CharSequence str) {
        return StrUtil.isNotBlank(str) && !"null".contentEquals(str);
    }

    /**
     * 是否有任一个为空
     */
    public static boolean isAnyBlank(CharSequence... str) {
        return !StrUtil.isAllNotBlank(str);
    }
}